package Day03;

public class OperDemo1 {
    public static void main(String[] args) {
        System.out.println(5%2);
        System.out.println(8%4);
        System.out.println(2%5);


        int a=5,b=5,c,d;
        a = a++;
        b = ++b;
        System.out.println(a);
        System.out.println(b);
        c = a++;
        d = ++b;

        System.out.println(c);
        System.out.println(d);

        int e=5,f=5;
        e = e--;
        f = --f;
        System.out.println(e);
        System.out.println(f);
    }
}
